package com.itany.corejava.day02;

import java.util.Scanner;

public class Test5 {
    public static void main(String[] args) {

        Scanner sc=new Scanner(System.in);

        System.out.println("输入数字：");

        int num=sc.nextInt();

        System.out.println("num = " + num);

        String result=(num%2!=0?"奇数":"偶数");

        System.out.println(result);


    }
}
